package org.example.servicemanage.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.example.model.manage.bean.po.security.User;

@NoArgsConstructor
@Data
public class UserVo {
    private Integer id;

    private String account;

    private String name;

    public UserVo(User u, String name) {
        this.id = u.getId();
        this.account = u.getAccount();
        this.name = name;
    }
}
